home *** CD-ROM | disk | FTP | other *** search
Text File | 1991-03-20 | 1.2 KB | 74 lines | [TEXT/MPS ] |
- *
- * Beginning of the 'mlti' resource
- *
- * Written by: Anumele D. Raja
- *
- * Date: March 19, 1991
- *
- * Copyright @ Apple Computer, Inc. 1991
- *
- Case On
- Include 'Traps.a'
- *
- * Setup - Macro to initialize address table
- *
- Macro
- Setup &Name
- * Print Push, NoGen
- Import &Name
- LEA &Name, A0
- Move.L A0, D0
- _StripAddress
- Move.L D0, (A1)+
- * Print Pop
- EndM
- * Entry
- * Name = Name of entry point.
- *
- CallAddress Main
- *
- * Instructions to set up the table
- *
- SetupAddresses
- Lea Addresses, A1
- *
- Setup CloseQueue
- Setup FreeMsg
- Setup GetCard
- Setup GetETick
- Setup GetICCTID
- Setup GetIPCg
- Setup GetMsg
- Setup GetNameTID
- Setup GetTickPS
- Setup GetTID
- Setup IsLocal
- Setup KillReceive
- Setup LockRealArea
- Setup Lookup_Task
- Setup NetCopy
- Setup OpenQueue
- Setup Receive
- Setup Register_Task
- Setup Send
- Setup SwapTID
- Setup UnlockRealArea
- *
- * Return the pointer to the Address table
- *
- Lea RsrcHandle, A0
- Move.L A0, D0
- Rts
- *
- * Queue table with address of the routines
- *
- QueueEntry Equ *
-
- RsrcHandle Ds.L 1 ; Place to save the handle to the resource
- *
- * Address of the routines
- *
- Addresses
- Ds.L 21 ; There are twenty one routines in A/ROSE
- EndMain
- End